/* overflow:hidden;三个功能:
1.隐藏多余
2.防止浮动影响
3.防止塌陷 */
body {
    min-width: 320px;
    max-width: 540px;
    margin: 0 auto;
    font-size: 14px;
    font: normal 14px/1.5 Tahoma,"Lucida Grande",Verdana,"Microsoft Yahei",STXihei,hei;
    line-height: 1.5;
    color: #000;
    background-color:#f2f2f2;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent ;
}
ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
a{
    text-decoration: none;
    color: #222;
}
.search-index{
    /* 固定定位跟父级没有关系，它以屏幕为准 */
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    /* 固定的盒子应该有宽度 */
    width: 100%;
    height: 44px;
    min-width: 320px;
    max-width: 540px;
    margin: 0 auto;
    background-color: #F6F6F6;
}
.search-index{
    display: flex;
}
.search{
    flex: 1;
    position: relative;
    height: 26px;
    border: 1px solid #ccc;
    margin: 6px 10px;
    border-radius: 5px;
    font-size: 12px;
    color: #666;
    padding-left: 30px;
    line-height: 24px;
    box-shadow: 0 2px 4px rgba(0,0,0,.2);
}
.search::before{
    content: '';
    position: absolute;
    top:3px;
    left:5px;
    width: 13px;
    height: 12px;
    background: url(../images/sprite.png) no-repeat -60px -280px;
    background-size: 104px auto;
    margin: 5px;
}
.user{
    width: 44px;
    height: 44px;
    color: #089fde;
    font-size: 12px;
    text-align: center;
}
.user::before{
    content: '';    
    display: block;
    width: 23px;
    height: 23px;
    background: url(../images/sprite.png) no-repeat -59px -194px;
    background-size: 104px auto;
    margin: 3px auto -2px;
}
/* 焦点模块 */
.focus{
    padding-top: 44px;
}
.focus img{
    width: 100%;
}
/* 局部导航栏 */
.local-nav{
    display: flex;
    height: 66px;
    margin: 3px 4px;
    background-color: #ffffff;
    border-radius: 8px;
}
.local-nav a{
    display: flex;
    /* 设置纵轴的排列方式 */
    flex-direction: column;
    /* 侧轴居中对齐 */
    align-items: center;
}
.local-nav li{
    flex: 1;
    list-style: none;
}
.local-nav-icon{
    width: 32px;
    height: 32px;
    background-color: pink;
    margin-top: 8px;
    background: url(../images/localnav_bg.png) no-repeat 0 0;
    background-size: 32px auto;
}
.local-nav li:nth-child(2) .local-nav-icon{
    background: url(../images/localnav_bg.png) no-repeat 0 -32px;
    background-size: 32px auto;
}
.local-nav li:nth-child(3) .local-nav-icon{
    background: url(../images/localnav_bg.png) no-repeat 0 -64px;
    background-size: 32px auto;
}
.local-nav li:nth-child(4) .local-nav-icon{
    background: url(../images/localnav_bg.png) no-repeat 0 -96px;
    background-size: 32px auto;
}
.local-nav li:nth-child(5) .local-nav-icon{
    background: url(../images/localnav_bg.png) no-repeat 0 -128px;
    background-size: 32px auto;
}
/* nav */
nav{
    overflow: hidden;
    border-radius: 8px;
    margin: 0 4px 3px;
}
nav .nav-common{
    display: flex;
    height: 88px;
}
nav .nav-common:nth-child(1){
    /* 颜色渐变 */
    background: -webkit-linear-gradient(left top,#FA5A55,#FA994D);
}
nav .nav-common:nth-child(2){
    background: -webkit-linear-gradient(left top,#062885,#3e81e4);
}
nav .nav-common:nth-child(3){
    background: -webkit-linear-gradient(left top,#056337,#70eb80);
}
nav .nav-common:nth-child(2){
    margin: 3px 0;
}
.nav-item{
    flex: 1;
    display: flex;
    flex-direction: column;
    /* align-items: center; */
}
.nav-item:nth-child(-n+2){
    border-right:1px solid white ;
}
.nav-item a{
    flex: 1;
    line-height: 44px;
    text-align: center;
    font-size: 14px;
    color: white;
    text-shadow: 1px 1px  rgba(0,0,0,.2);
}
.nav-item a:nth-child(1){
    border-bottom: 1px solid white;
}
.nav-item:nth-child(1) a{
    border: 0;
    background: url(../images/hotel.png) no-repeat bottom center;
    background-size: 121px auto;
}
/* subnav-entry模块 */
.subnav-entry{
    display: flex;
    flex-wrap: wrap;
    background-color: #fff;
    border-radius: 8px;
    margin: 0 4px;
    padding: 5px 0;
    box-shadow: 0px 1px 1px rgba(0,0,0,.2);
}
.subnav-entry li{
    /* 每行li占20%份 */
    flex: 20%;
}
.subnav-entry a{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.subnav-entry-icon{
    width: 28px;
    height: 28px;
    background-color: pink;
    margin-top: 4px;
    background: url(../images/subnav-bg.png) no-repeat ;
    background-size: 28px auto;
}
.subnav-entry li:nth-child(2) .subnav-entry-icon{
    background: url(../images/subnav-bg.png) no-repeat 0 -28px;
    background-size: 28px auto;
}
.subnav-entry li:nth-child(3) .subnav-entry-icon{
    background: url(../images/subnav-bg.png) no-repeat 0 -63px;
    background-size: 28px auto;
}
.subnav-entry li:nth-child(4) .subnav-entry-icon{
    background: url(../images/subnav-bg.png) no-repeat 0 -98px;
    background-size: 28px auto;
}
.subnav-entry li:nth-child(5) .subnav-entry-icon{
    background: url(../images/subnav-bg.png) no-repeat 0 -129px;
    background-size: 28px auto;
}
.subnav-entry li:nth-child(6) .subnav-entry-icon{
    background: url(../images/subnav-bg.png) no-repeat 0 -161px;
    background-size: 28px auto;
}
.subnav-entry li:nth-child(7) .subnav-entry-icon{
    background: url(../images/subnav-bg.png) no-repeat 0 -197px;
    background-size: 28px auto;
}
.subnav-entry li:nth-child(8) .subnav-entry-icon{
    background: url(../images/subnav-bg.png) no-repeat 0 -287px;
    background-size: 28px auto;
}
.subnav-entry li:nth-child(9) .subnav-entry-icon{
    background: url(../images/subnav-bg.png) no-repeat 0 -3 22px;
    background-size: 28px auto;
}
.subnav-entry li:nth-child(10) .subnav-entry-icon{
    background: url(../images/subnav-bg.png) no-repeat 0 -252px;
    background-size: 28px auto;
}
/* sales-box */
.sales-box{
    border-top: 1px solid #bbb;
    margin: 4px;
    background-color: white;
}
.sales-hd{
    position: relative;
    height: 44px;
    border-bottom: 1px solid #ccc;
}
.sales-hd h2{
    position: relative;
    text-indent: -999px;
    overflow: hidden;
}
.sales-hd h2::after{
    position: absolute;
    top: 4px;
    left: 20px;
    content: '';
    width: 73px;
    height: 19px;
    background: url(../images/hot.png) no-repeat  0 -18px;
    background-size: 79px auto;
}
.more{
    position: absolute;
    top: 2px;
    right: 10px;
    background:-webkit-linear-gradient(left,rgb(221, 5, 167),rgb(240, 135, 222));
    border-radius: 15px;
    padding: 3px 8px;
    padding-right: 20px;
    color: white;
}
.more::after{
    content: '';
    position: absolute;
    top: 10px;
    right: 9px;
    width: 7px;
    height: 7px;
    border-top: 1px solid white;
    border-right: 1px solid white;
    transform: rotate(45deg);
}
.sales-bd .row{
    display: flex;
}
.sales-bd .row a{
    flex:1;
    border-bottom: 1px solid #eee;
}
.sales-bd .row a:nth-child(1){
    border-right: 1px solid #eee;
}
.sales-bd .row a img{
    width: 100%;
}